#ifndef TABBAR_H_
#define TABBAR_H_

#include <QWidget>
#include <QTabWidget>
#include <QPushButton>
#include "ImageTab.h"
#include "SoundTab.h"

class TabBar : public QTabWidget
{
	Q_OBJECT

	private:
		ImageTab *imageTab;
		SoundTab *soundTab;

	public:
		static const long ImageIndex = 0;
		static const long SoundIndex = 1;

		TabBar(QWidget *parent=0);
		void sendSound(QSound*);
		void sendSoundObj(SoundObj *so);
		void repaint();
		void paintImage(ImageObj **img);
		SoundTab* getSoundTab();
		~TabBar();
};

#endif
